class Monitor {
  constructor() {
    this.config = null;
    this.launchInfo = null;
    this.getPerformance();
  }
  /**
   * 初始化配置信息
   * @param {*} config
   */
  init(config) {
    this.config = config;
  }
  /**
   * 初始化登录信息
   * @param {*} userId
   */
  login(userId) {}
  getStartTime() {}

  getPerformance() {
    if (!performance) return;
    const timing = performance.timing;
    this.launchInfo = {
      startTime: '',
    };
  }
}
let monitor = new Monitor();
export default monitor;
